
<?php get_header(); ?>
<div id="content">
	<div class="pagetitle">
		<h2>Search Results</h2>
	</div>

	<?php if (have_posts()) : ?>

		<?php while (have_posts()) : the_post(); ?>

			<div class="post" id="post-<?php the_ID(); ?>">
				<div class="title">
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
					<p>
						<span class="group1">by <?php the_author_posts_link(); ?> | <?php the_time('F j, Y') ?> in <?php the_category(', ') ?></span>
						<span>| </span>
						<span class="group2"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>
					</p>
				</div>

				<div class="entry">
					<?php the_content('[More]'); ?>
				</div>
			</div>

		<?php endwhile; ?>

	<?php else : ?>
		<div class="errormsg">
			<p>Sorry, but you are looking for something that isn't here.</p>
		</div>
		
	<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>